 #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>

void Change(char string[]) {
    int length = strlen(string);
    for (int i = 0; i < length; i++) {
        if (string[i] >= 'a' && string[i] <= 'z') {
            string[i] = string[i] - 32;
        }
    }
}

int main() {
    char string[100];
    printf("please input a string:");
    scanf("%[^\n]s", string);

    Change(string);

    printf("changed string is %s\n", string);

    return 0;
}